
package org.movee.spring.data.hugegraph.query.paramerter;

import org.springframework.core.MethodParameter;
import org.springframework.data.repository.query.Parameters;

import java.lang.reflect.Method;
import java.util.List;

public class HugeParameters extends Parameters<HugeParameters, HugeParameter> {

    public HugeParameters(Method method) {
        super(method);
    }

    private HugeParameters(List<HugeParameter> parameters) {
        super(parameters);
    }

    @Override
    protected HugeParameters createFrom(List<HugeParameter> parameters) {
        return new HugeParameters(parameters);
    }

    @Override
    protected HugeParameter createParameter(MethodParameter parameter) {
        return new HugeParameter(parameter);
    }

}
